// 品牌相关
import request,{Method} from '@/libs/api.js'

// 根据cateId查询当前cateId所对应的品牌
export function getCateBrandRelation(cateId){
    return request({
        url : `/product/categorybrandrelation/getCateBrandRelation/${cateId}`,
        method: Method.GET,
    })
}

// 获取全部的品牌
export function getAllBrand(){
    return request({
        url : `/product/brand/getAllBrand`,
        method: Method.GET,
    })
}